package com.example.lvsuo.service.cxg.impl;

import com.example.lvsuo.entity.cxg.vo.AdmExpressageVo;
import com.example.lvsuo.service.cxg.IAdmExpressageService;
import com.example.lvsuo.entity.cxg.AdmExpressage;
import com.example.lvsuo.mapper.cxg.AdmExpressageMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 心心念念
 * @since 2021-03-30
 */
@Service
@Transactional
public class AdmExpressageServiceImpl extends ServiceImpl<AdmExpressageMapper, AdmExpressage> implements IAdmExpressageService {

    @Autowired
    AdmExpressageMapper expressageMapper;


    @Override
    public List<AdmExpressageVo> quertAdmExpressageSJ(AdmExpressageVo admExpressageVo) {
        return expressageMapper.quertAdmExpressageSJ(admExpressageVo);
    }

    @Override
    public AdmExpressageVo queryByid(String id) {
        return expressageMapper.queryByid(id);
    }
}
